﻿using System;
namespace LmgCMS.Model
{
    /// <summary>
    /// 新闻管理
    /// </summary>
    [Serializable]
    public class News : Entity
    {
        private string _category;
        /// <summary>
        /// 分类
        /// </summary>	
        public string Category
        {
            get { return _category; }
            set { _category = value; }
        }   	
       private string _title;
        /// <summary>
        /// 标题
        /// </summary>	
        public string Title
        {
            get { return _title; }
            set { _title = value; }
        }
        private string _ftitle;
        /// <summary>
        /// 副标题
        /// </summary>	
        public string FTitle
        {
            get { return _ftitle; }
            set { _ftitle = value; }
        }
        private string _titlepic;
        /// <summary>
        /// 封面
        /// </summary>	
        public string TitlePic
        {
            get { return _titlepic; }
            set { _titlepic = value; }
        }
        private string _keyboard;
        /// <summary>
        /// 关键字
        /// </summary>	
        public string KeyBoard
        {
            get { return _keyboard; }
            set { _keyboard = value; }
        }
        private string _smalltext;
        /// <summary>
        /// 简介
        /// </summary>		
        public string SmallText
        {
            get { return _smalltext; }
            set { _smalltext = value; }
        }
        private string _url;
        /// <summary>
        /// 外链
        /// </summary>	
        public string Url
        {
            get { return _url; }
            set { _url = value; }
        }
        private string _befrom;
        /// <summary>
        /// 来源
        /// </summary>		
        public string Befrom
        {
            get { return _befrom; }
            set { _befrom = value; }
        }
        private string _author;
        /// <summary>
        /// 作者
        /// </summary>		
        public string Author
        {
            get { return _author; }
            set { _author = value; }
        }
        private int _isgood;
        /// <summary>
        /// 推荐
        /// </summary>	
        public int IsGood
        {
            get { return _isgood; }
            set { _isgood = value; }
        }
        private int _isdokey;
        /// <summary>
        /// 替换内容关键字
        /// </summary>	
        public int IsDokey
        {
            get { return _isdokey; }
            set { _isdokey = value; }
        }
        private int _closecomment;
        /// <summary>
        /// 关闭评论
        /// </summary>		
        public int CloseComment
        {
            get { return _closecomment; }
            set { _closecomment = value; }
        }
    }
}

